<!doctype html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>青雅社团</title>
    <link rel="stylesheet" href="css/normalize.css">
    <link rel="stylesheet" type="text/css" href="css/default.css">
    <script src="js/jquery-1.11.0.min.js"></script>
    <script src="js/pinterest_grid.js"></script>

    <link rel="stylesheet" type="text/css" href="css/demo.css" />
    <link rel="stylesheet" type="text/css" href="css/jquery-ui-themes-1.9.2.css" />
    <link rel="stylesheet" type="text/css" href="css/style.css" />
    <script src="js/modernizr.custom.63321.js"></script>

    <style type="text/css">
        #gallery-wrapper {
            position: relative;
            max-width: 75%;
            width: 75%;
            margin: 50px auto;
        }

        img.thumb {
            width: 100%;
            max-width: 100%;
            height: auto;
        }

        .white-panel {
            position: absolute;
            background: white;
            border-radius: 5px;
            box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
            padding: 10px;
        }

        .white-panel h1 {
            font-size: 1em;
        }

        .white-panel h1 a {
            color: #A92733;
        }

        .white-panel:hover {
            box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
            margin-top: -5px;
            -webkit-transition: all 0.3s ease-in-out;
            -moz-transition: all 0.3s ease-in-out;
            -o-transition: all 0.3s ease-in-out;
            transition: all 0.3s ease-in-out;
        }
    </style>
    <!--[if IE]>
    <script src="http://libs.useso.com/js/html5shiv/3.7/html5shiv.min.js"></script>
    <![endif]-->
</head>
<body>
<section class="htmleaf-container">
    <header class="htmleaf-header">
        <h1>青雅社团 <span>一个致力于大学生平台的社团活动系统</span></h1>
        <div class="htmleaf-links">
            <a class="htmleaf-icon icon-htmleaf-home-outline" href="#" title="主页" target="_blank"><span> 社团主页</span></a>
            <a class="htmleaf-icon icon-htmleaf-arrow-forward-outline" href="/login" title="返回管理页"
               target="_blank"><span> 社团管理页</span></a>
        </div>
    </header>
</section>
<section id="gallery-wrapper">
    <article class="white-panel">
        <img data-lazy-src="img/1111.jpg" class="thumb">
        <h1><a href="/single">楚衿汉文化协会</a></h1>
        <p>端午节期间参加长沙本地举行的活动</p>
    </article>
    <article class="white-panel">
        <img data-lazy-src="img/2.jpg" class="thumb">
        <h1><a href="single.html">动漫协会</a></h1>
        <p>校内动漫爱好者活动</p>
    </article>
    <article class="white-panel">
        <img data-lazy-src="img/5.jpg" class="thumb">
        <h1><a href="single.html">绘画协会</a></h1>
        <p>xxx活动</p>
    </article>
    <article class="white-panel">
        <img data-lazy-src="img/5.jpg" class="thumb">
        <h1><a href="single.html">xxx协会</a></h1>
        <p>xxx活动</p>
    </article>
    <article class="white-panel">
        <img data-lazy-src="img/5.jpg" class="thumb">
        <h1><a href="single.html">xxx协会</a></h1>
        <p>xxx活动</p>
    </article>
    <article class="white-panel">
        <img data-lazy-src="img/5.jpg" class="thumb">
        <h1><a href="single.html">xxx协会</a></h1>
        <p>xxx活动</p>
    </article>
    <article class="white-panel">
        <img data-lazy-src="img/5.jpg" class="thumb">
        <h1><a href="single.html">xxx协会</a></h1>
        <p>xxx活动</p>
    </article>
    <article class="white-panel">
        <img data-lazy-src="img/2.jpg" class="thumb">
        <h1><a href="single.html">xxx协会</a></h1>
        <p>xxx活动</p>
    </article>
    <article class="white-panel">
        <img data-lazy-src="img/5.jpg" class="thumb">
        <h1><a href="single.html">xxx协会</a></h1>
        <p>xxx活动</p>
    </article>
    <article class="white-panel">
        <img data-lazy-src="img/2.jpg" class="thumb">
        <h1><a href="single.html">xxx协会</a></h1>
        <p>xxx活动</p>
    </article>
    <article class="white-panel">
        <img data-lazy-src="img/5.jpg" class="thumb">
        <h1><a href="single.html">xxx协会</a></h1>
        <p>xxx活动</p>
    </article>
    <article class="white-panel">
        <img data-lazy-src="img/2.jpg" class="thumb">
        <h1><a href="single.html">xxx协会</a></h1>
        <p>xxx活动</p>
    </article>
    <article class="white-panel">
        <img data-lazy-src="img/5.jpg" class="thumb">
        <h1><a href="single.html">xxx协会</a></h1>
        <p>xxx活动</p>
    </article>
    <article class="white-panel">
        <img data-lazy-src="img/2.jpg" class="thumb">
        <h1><a href="single.html">xxx协会</a></h1>
        <p>xxx活动</p>
    </article>
    <article class="white-panel">
        <img data-lazy-src="img/5.jpg" class="thumb">
        <h1><a href="single.html">xxx协会</a></h1>
        <p>xxx活动</p>
    </article>
</section>
    <div class="container">
        <div class="main">
            <div id="slider" class="sp-slider-wrapper">
                <nav>
                    <a href="#" class="sp-prev">Previous</a>
                    <a href="#" class="sp-next">Next</a>
                </nav>
            </div>
        </div>
    </div><!-- /container -->
<script src="js/jquery.min.js"></script>
<script src="https://cdn.bootcss.com/jqueryui/1.9.2/jquery-ui.min.js"></script>
<script src="js/jquery.ui.touch-punch.min.js"></script>
<script src="js/jquery.pagination.js"></script>

<script src="js/EasyLazyload.min.js"></script>
<script type="text/javascript">
    $(function () {
        $("#gallery-wrapper").pinterest_grid({
            no_columns: 5,
            padding_x: 15,
            padding_y: 15,
            margin_bottom: 50,
            single_column_breakpoint: 700
        });

        var $update = $( '#preview > span' );

        $( "#slider" ).pagination( {
            total : 3,
            onChange : function( value ) {
                $update.text( value );
            }
        } );

    });
    //图片懒加载
    lazyLoadInit({
        showTime: 500,
        onLoadBackEnd: function (i, e) {
            console.log("onLoadBackEnd:" + i);
        }
        , onLoadBackStart: function (i, e) {
            console.log("onLoadBackStart:" + i);
        }
    });



</script>

</body>
</html>